import { request } from '@/utils/request.js'

export default {
  aftersale_list(data) {
    return request({
      url: '/shop/admin/network/list',
      method: 'post',
      data: data,
    })
  },
  suopei_list_params() {
    return request({
      url: '/shop/admin/order_claim/list',
      method: 'get',
    })
  },
  add_aftersale_params() {
    return request({
      url: '/shop/admin/network/create',
      method: 'get',
    })
  },
  add_aftersale(data) {
    return request({
      url: '/shop/admin/network/create',
      method: 'post',
      data: data,
    })
  },
  update_aftersale(data) {
    return request({
      url: '/shop/admin/network/update',
      method: 'post',
      data: data,
    })
  },
  back_exchange_list(data) {
    return request({
      url: '/shop/admin/after_service/list',
      method: 'post',
      data: data,
    })
  },
  back_exchange_list_params(data) {
    return request({
      url: '/shop/admin/after_service/list',
      method: 'get',
    })
  },
  back_exchange_detail(id) {
    return request({
      url: '/shop/admin/after_service/info/id/' + id,
      method: 'get',
    })
  },
  express_list(id) {
    return request({
      url: '/shop/admin/after_service/editExpress/id/' + id,
      method: 'get',
    })
  },
  edit_back_exchange_express(data) {
    return request({
      url: '/shop/admin/after_service/editExpress',
      method: 'post',
      data: data,
    })
  },
  delivery_log_list(data) {
    return request({
      url: '/shop/admin/delivery/deliveryLog',
      method: 'post',
      data: data,
    })
  },
  output_order_list(data) {
    return request({
      url: '/shop/admin/delivery/list',
      method: 'post',
      data: data,
    })
  },
  output_order_list_params() {
    return request({
      url: '/shop/admin/delivery/list',
      method: 'get',
    })
  },
  erp_output_order(data) {
    return request({
      url: '/shop/admin/delivery/fastDelivery',
      method: 'post',
      data: data,
    })
  },
  del_goods(data) {
    return request({
      url: '/shop/admin/delivery/delDaizi',
      method: 'post',
      data: data,
    })
  },
  send_record(id) {
    return request({
      url: '/shop/admin/delivery/shippingLog/id/' + id,
      method: 'post'
    })
  },
  cancel_delivery_again_params(id) {
    return request({
      url: '/shop/admin/delivery/cancelOrderDelivery/id/' + id,
      method: 'get',
    })
  },
  cancel_delivery_again(data) {
    return request({
      url: '/shop/admin/delivery/cancelOrderDelivery',
      method: 'post',
      data: data,
    })
  },
  delievry_output_order_params(id) {
    return request({
      url: '/shop/admin/delivery/shipping/id/' + id,
      method: 'get',
    })
  },
  checkCode(data) {
    return request({
      url: '/shop/admin/delivery/checkCode',
      method: 'post',
      data: data,
    })
  },
  delievry_output_order(data) {
    return request({
      url: '/shop/admin/delivery/shipping',
      method: 'post',
      data: data,
    })
  },
  edit_delivery(data) {
    return request({
      url: '/shop/admin/delivery/shippingAgain',
      method: 'post',
      data: data,
    })
  },
  detail_refund_list(id) {
    return request({
      url: '/shop/admin/after_service/info/id/' + id,
      method: 'get',
    })
  },
  express_list(id) {
    return request({
      url: '/shop/admin/after_service/editExpress/id/' + id,
      method: 'get',
    })
  },
  edit_express(data) {
    return request({
      url: '/shop/admin/after_service/editExpress',
      method: 'post',
      data: data,
    })
  },
  refund_list(data) {
    return request({
      url: '/shop/admin/after_service/tuikuanList',
      method: 'post',
      data: data,
    })
  },
  refund_list_params() {
    return request({
      url: '/shop/admin/after_service/tuikuanList',
      method: 'get',
    })
  },
  refuse_refund(data) {
    return request({
      url: '/shop/admin/after_service/tuikuanHand',
      method: 'post',
      data: data,
    })
  },
  reset_refund(data) {
    return request({
      url: '/shop/admin/after_service/tuikuanReset',
      method: 'post',
      data: data,
    })
  },
  sign_for_list(id) {
    return request({
      url: '/shop/admin/shouhou/qianshou/id/' + id,
      method: 'get',
    })
  },
  sign_for_goods(data) {
    return request({
      url: '/shop/admin/shouhou/qianshouHand',
      method: 'post',
      data: data,
    })
  },
  sign_for_detail(id) {
    return request({
      url: '/shop/admin/shouhou/info/id/' + id,
      method: 'get',
    })
  },
  back_sign_list(data) {
    return request({
      url: '/shop/admin/shouhou/list',
      method: 'post',
      data: data,
    })
  },
  back_sign_list_params() {
    return request({
      url: '/shop/admin/shouhou/list',
      method: 'get',
    })
  },
  bac_express_refuse(data) {
    return request({
      url: '/shop/admin/after_service/interceptExpress',
      method: 'post',
      data
    })
  },
  bac_express_change_states(data) {
    return request({
      url: '/shop/admin/after_service/changeState',
      method: 'post',
      data
    })
  },
  export_create_task(data) { 
    return request({
      url: '/shop/admin/after_service/export?step=1',
      method: 'post',
      data
    })
  },
  export_create_progress(data) { 
    return request({
      url: '/shop/admin/after_service/export?step=2',
      method: 'post',
      data
    })
  },
  export_create_task_output(data) { 
    return request({
      url: '/shop/admin/delivery/export?step=1',
      method: 'post',
      data
    })
  },
  export_create_progress_output(data) { 
    return request({
      url: '/shop/admin/delivery/export?step=2',
      method: 'post',
      data
    })
  },
  aftersale_output_config(id) { 
    return request({
      url: '/shop/admin/delivery/shippingAgain/id/'+id,
      method: 'get',
    })
  },
  aftersale_output_express_line(data) { 
    return request({
      url: '/shop/admin/delivery/tracking',
      method: 'post',
      data
    })
  },
  aftersale_output_cancel_send(data) { 
    return request({
      url: '/shop/admin/delivery/cancel',
      method: 'post',
      data
    })
  },
  detail_refund_list(id) {
    return request({
      url: '/shop/admin/after_service/info/id/'+id,
      method: 'get',
    })
  },
  express_list(id) {
    return request({
      url: '/shop/admin/after_service/editExpress/id/'+id,
      method: 'get',
    })
  },
  edit_express(data) {
    return request({
      url: '/shop/admin/after_service/editExpress',
      method: 'post',
      data:data,
    })
  },
  refund_list(data) {
    return request({
      url: '/shop/admin/after_service/tuikuanList',
      method: 'post',
      data:data,
    })
  },
  refund_list_params() {
    return request({
      url: '/shop/admin/after_service/tuikuanList',
      method: 'get',
    })
  },
  refuse_refund(data) {
    return request({
      url: '/shop/admin/after_service/tuikuanHand',
      method: 'post',
      data:data,
    })
  },
  sign_for_list(id) {
    return request({
      url: '/shop/admin/shouhou/qianshou/id/'+id,
      method: 'get',
    })
  },
  sign_for_goods(data) {
    return request({
      url: '/shop/admin/shouhou/qianshouHand',
      method: 'post',
      data:data,
    })
  },
  refund_agree_info(id) {
    return request({
      url: '/shop/admin/after_service/agreeRefund/id/'+id,
      method: 'get',
    })
  },
  
  
  
  
  

  
  
  



  

}